-- GENERATED SPELL FOR [Blackfathom Myrmidon] --


function spell0_4807(pUnit, Event) --@Disarm,n/a--
pUnit:FullCastSpellOnTarget(8379,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_4807', 10320, 1)
end

function Sorts_4807(pUnit, Event)
local choix_sorts_4807 = math.random(0, 0)
if choix_sorts_4807 == 0 then
pUnit:RegisterEvent('spell0_4807', 1, 1)
end
end

function mob4807_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_4807', math.random(1500, 3000), 1)
end

function mob4807_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob4807_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob4807_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(4807, 1, 'mob4807_Action')
RegisterUnitEvent(4807, 2, 'mob4807_Leave')
RegisterUnitEvent(4807, 3, 'mob4807_Kill')
RegisterUnitEvent(4807, 4, 'mob4807_Die')
